package org.example.linkedList;

/**
 * @Auther: wangbw
 * @Date:2020/11/16
 * @Description: org.example.linkedList
 * @version: 1.0
 */
public class Test {
    public static void main(String[] args) {
        Integer guidHigh = 333840897;
        Integer guidLow = 940133705;
        System.out.println(fill(Integer.toHexString(guidHigh == null ? 0 : guidHigh), 8, '0') +
                fill(Integer.toHexString(guidLow == null ? 0 : guidLow), 8, '0'));
    }

    private static String fill(String input, int size, char symbol) {
        while (input.length() < size) {
            input = symbol + input;
        }
        return input;
    }
}
